package HomeWork0918;

//CompareOperator.java
public class CompareOperator {
	public static void main(String[] args) {
		int a = 3;
		int b = 4;
		boolean bigger = a>b;
		boolean less = a<b;
		boolean biggerEqual = a>=b;
		boolean lessEqual = a<=b;
		boolean equal = a==b;
		boolean notEqual = a!=b;
		System.out.println("a="+a+" b="+b);
		System.out.println("a>b:"+bigger);
		System.out.println("a<b:"+less);
		System.out.println("a>=b:"+biggerEqual);
		System.out.println("a<=b:"+lessEqual);
		System.out.println("a==b:"+equal);
		System.out.println("a!=b:"+notEqual);
	}
}
